package com.ydkj.a37e_mall.Classes.Model.Response;

import java.util.List;

/**
 * Created by Administrator on 2017/2/17.
 */

public class CommoditySelectResp {


    /**
     * errno : 000
     * errmsg :
     * result : {"data":[{"id":"27;5","name":"香槟金（白）;64G","price":1759.2,"product_id":"37","product_name":"华为 HUAWEI nova 4GB"},{"id":"27;31","name":"香槟金（白）;32G","price":1519.2,"product_id":"37","product_name":"华为 HUAWEI nova 4GB"},{"id":"28;5","name":"香槟金（黑）;64G","price":1759.2,"product_id":"37","product_name":"华为 HUAWEI nova 4GB"},{"id":"28;31","name":"香槟金（黑）;32G","price":1519.2,"product_id":"37","product_name":"华为 HUAWEI nova 4GB"},{"id":"29;5","name":"玫瑰金;64G","price":1759.2,"product_id":"37","product_name":"华为 HUAWEI nova 4GB"},{"id":"29;31","name":"玫瑰金;32G","price":1519.2,"product_id":"37","product_name":"华为 HUAWEI nova 4GB"},{"id":"30;5","name":"曜石黑;64G","price":1759.2,"product_id":"37","product_name":"华为 HUAWEI nova 4GB"},{"id":"30;31","name":"曜石黑;32G","price":1519.2,"product_id":"37","product_name":"华为 HUAWEI nova 4GB"}],"total_page":"","current_page":"","total":"","access_token":""}
     */

    private String errno;
    private String errmsg;
    private ResultEntity result;

    public String getErrno() {
        return errno;
    }

    public void setErrno(String errno) {
        this.errno = errno;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public static class ResultEntity {
        /**
         * data : [{"id":"27;5","name":"香槟金（白）;64G","price":1759.2,"product_id":"37","product_name":"华为 HUAWEI nova 4GB"},{"id":"27;31","name":"香槟金（白）;32G","price":1519.2,"product_id":"37","product_name":"华为 HUAWEI nova 4GB"},{"id":"28;5","name":"香槟金（黑）;64G","price":1759.2,"product_id":"37","product_name":"华为 HUAWEI nova 4GB"},{"id":"28;31","name":"香槟金（黑）;32G","price":1519.2,"product_id":"37","product_name":"华为 HUAWEI nova 4GB"},{"id":"29;5","name":"玫瑰金;64G","price":1759.2,"product_id":"37","product_name":"华为 HUAWEI nova 4GB"},{"id":"29;31","name":"玫瑰金;32G","price":1519.2,"product_id":"37","product_name":"华为 HUAWEI nova 4GB"},{"id":"30;5","name":"曜石黑;64G","price":1759.2,"product_id":"37","product_name":"华为 HUAWEI nova 4GB"},{"id":"30;31","name":"曜石黑;32G","price":1519.2,"product_id":"37","product_name":"华为 HUAWEI nova 4GB"}]
         * total_page :
         * current_page :
         * total :
         * access_token :
         */

        private String total_page;
        private String current_page;
        private String total;
        private String access_token;
        private List<DataEntity> data;

        public String getTotal_page() {
            return total_page;
        }

        public void setTotal_page(String total_page) {
            this.total_page = total_page;
        }

        public String getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(String current_page) {
            this.current_page = current_page;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public List<DataEntity> getData() {
            return data;
        }

        public void setData(List<DataEntity> data) {
            this.data = data;
        }

        public static class DataEntity {
            /**
             * id : 27;5
             * name : 香槟金（白）;64G
             * price : 1759.2
             * product_id : 37
             * product_name : 华为 HUAWEI nova 4GB
             */

            private String id;
            private String name;
            private double price;
            private String product_id;
            private String product_name;
            private int number = 1;
            private int check_code = 0;
            private boolean flag = true;

            public int getNumber() {
                return number;
            }

            public void setNumber(int number) {
                this.number = number;
            }

            public int getCheck_code() {
                return check_code;
            }

            public void setCheck_code(int check_code) {
                this.check_code = check_code;
            }

            public boolean isFlag() {
                return flag;
            }

            public void setFlag(boolean flag) {
                this.flag = flag;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public String getProduct_id() {
                return product_id;
            }

            public void setProduct_id(String product_id) {
                this.product_id = product_id;
            }

            public String getProduct_name() {
                return product_name;
            }

            public void setProduct_name(String product_name) {
                this.product_name = product_name;
            }
        }
    }
}
